*{margin:0;padding:0;}
body,html{height:100%;}
.login{background:url(../theme/img/login/loginbg.jpg) no-repeat;background-size:100% 100%;position:relative;height:100%;}
.login .loginform{
	/*width:490px;background:rgba(255,255,255,1);height:522px;margin:0 auto;position:fixed;left:50%;top:50%;transform:translate(-50%,-50%); box-shadow: 0 0 90px #afafaf;*/
	
  /*box-shadow:-15px 15px 15px rgba(220,220,220, 0.7);*/
  opacity: 1;
  top: 20px;
  -webkit-transition-timing-function:cubic-bezier(0.68, -0.25, 0.265, 0.85);
  -webkit-transition-property: -webkit-transform,opacity,box-shadow,top,left;
          transition-property: transform,opacity,box-shadow,top,left;
  -webkit-transition-duration: .5s;
          transition-duration: .5s;
  -webkit-transform-origin: 161px 100%;
      -ms-transform-origin: 161px 100%;
          transform-origin: 161px 100%;
  -webkit-transform: rotateX(0deg);
          transform: rotateX(0deg);
  position: relative;
  width:340px;;
  /*border-top: 2px solid #D8312A;*/
  height:400px;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  top: 0;
  bottom: 0;
  /*padding: 100px 40px 40px 40px;*/
  background: #ffffff;
  /* Old browsers */
  /* FF3.6+ */
  background: -webkit-gradient(linear, left bottom, right top, color-stop(0%, #35394a), color-stop(100%, rgb(0, 0, 0)));
  /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(230deg, rgba(255,255,255, 0) 0%, rgb(255,255,255) 100%);
  /* Chrome10+,Safari5.1+ */
  /* Opera 11.10+ */
  /* IE10+ */
  background: linear-gradient(230deg, rgba(255,255,255, 0) 0%, rgb(255,255,255) 100%);
  /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='rgba(255,255,255, 0)', endColorstr='rgb(255,255,255)',GradientType=1 );
  /* IE6-9 fallback on horizontal gradient */
}
.login .loginform .logo{margin:50px auto 0;}
.login .loginform .logo img{height:56px;width:56px;display:block;margin:0 auto;}
.login .loginform .company{text-align:center;font-family:arial;font-size:24px;margin-top:10px;text-transform:uppercase;color:#222121;}
.login .loginform .form{width:315px;margin:40px auto 0;}
.login .loginform .form label{width:290px;height:34px;display:inline-block;border:1px solid #e2e2e2;padding-left:30px;margin-bottom:15px;position:relative;}
.login .loginform .form label input{height:33px;border:none;outline:none;color:#333333;width:150px;background:transparent;}
.login .loginform .form label.user{background:url(../theme/img/login/username.png) 10px center no-repeat;background-size:12px 12px;}
.login .loginform .form label.pwd{background:url(../theme/img/login/password.png) 10px center no-repeat;background-size:13px 13px;}
.login .loginform .form label.piccode{background:url(../theme/img/login/password.png) 10px center no-repeat;background-size:13px 13px;width:150px;position:relative;margin-bottom:0;}
.login .loginform .form label.piccode input{width:100%;}
.login .loginform .form .code{position:relative;margin-bottom:15px;}
.login .loginform .form .code img.codepic{position:absolute;right:10px;top:50%;transform:translateY(-50%);-webkit-transform:translateY(-50%);width:80px;height:34px;}
.login .loginform .form label input::-moz-placeholder{font-size:14px;color:#999999;}
.login .loginform .form label input:-moz-placeholder{font-size:14px;color:#999999;}
.login .loginform .form label input::-webkit-input-placeholder{font-size:14px;color:#999999;}
.login .loginform .form label input::-ms-input-placeholder{font-size:14px;color:#999999;}
.login .loginform .form .loginbtn{width:100%;height:46px;background:#1ab394;font-size:18px;color:#ffffff;outline:none;border:none;border-radius:5px;}
.login .loginform .form label .tips{position:absolute;right:20px;top:50%;transform:translateY(-50%);-webkit-transform:translateY(-50%);font-size:12px;color:#cc0000;}
.login .copyright{font-size:12px;color:#333333;position:fixed;bottom:30px;width:100%;text-align: center;}

.codepic{display:inline-block;float:right;margin-right:25px;}

body .authent {
  /*box-shadow: 0px 20px 30px 3px rgba(0, 0, 0, 0.55);*/
  display: none;
  background: #35394a;
  /* Old browsers */
  /* FF3.6+ */

  /* Chrome10+,Safari5.1+ */
  /* Opera 11.10+ */
  /* IE10+ */
  background:rgba(0,0,0,.5);
  /* W3C */
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#7f000000,endColorstr=#7f000000);    /*IE8支持*/
  /* IE6-9 fallback on horizontal gradient */
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  margin:auto;
  width: 100px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  padding: 20px 70px;
  height: 70px;
  border-radius:5px;
}
body .authent p {
  text-align: center;
  color: white;
  line-height:50px;
}

body .authent .loader{
      box-sizing: border-box;
      display: flex;
      flex: 0 1 auto;
      flex-direction: column;
      flex-grow: 1;
      flex-shrink: 0;
      flex-basis: 25%;
      align-items: center;
      justify-content: center;
      margin:20px;
}

body .loginform.test {
  box-shadow: 0px 20px 30px 3px rgba(0, 0, 0, 0.55);
  pointer-events: none;
  top: -100px !important;
  -webkit-transform: rotateX(70deg) scale(0.8) !important;
          transform: rotateX(70deg) scale(0.8) !important;
  opacity: .6 !important;
  -webkit-filter: blur(1px);
          filter: blur(1px);
}

body .loginform.testtwo {
  left: -320px !important;
}
